package com.gzx.plugin.website.access.enums;

import lombok.Getter;

import java.util.Arrays;

/**
 * @author zjt
 * @description
 * @date 2025/6/24 13:32
 */
@Getter
public enum SmsVcSign {

    YANCHENG("www.ycjrtjzx.com", "盐城市盐南高新区金和金融调解中心"),
    HAINAN("www.hnjrtjzx.com", "天津普惠金融调解中心"),
    TIANJIN("www.tjjrtj.com", "天津普惠金融调解中心"),
    HEBEI("www.hbjrtjzx.com", "天津普惠金融调解中心");

    private String host;

    private String sign;

    SmsVcSign(String host, String sign) {
        this.host = host;
        this.sign = sign;
    }

    public static SmsVcSign getSignByHost(String host) {
        return Arrays.stream(values())
                .filter(item -> item.host.equals(host))
                .findFirst()
                .orElse(null);
    }
}
